package com.qxzn.app.bean;

import java.io.Serializable;
import java.util.List;

public class FamilyMemberBean implements Serializable {
    /**
     * memberBean : {"device_id":"0994dd79d1f401e3304dc5be2d72ccd2","username":"17612709290","roles":"1","record_time":1571625647841,"auth_time":1571625647841,"headportrait":"img/headportrait/157249325532017612709290.jpg","niname":"分刚刚好","adminstate":"1"}
     * authorizedUserList : [{"device_id":"0994dd79d1f401e3304dc5be2d72ccd2","username":"15927089290","roles":"1","record_time":1571636867373,"auth_time":1571636884986,"headportrait":"","niname":"jesse2","adminstate":"0"}]
     * unAuthorizedUserList : [{"device_id":"0994dd79d1f401e3304dc5be2d72ccd2","username":"16620010121","roles":"-1","record_time":1576736555905,"auth_time":1576736555905,"headportrait":"","niname":"极限智能","adminstate":"0"}]
     */

    private MemberBean memberBean;
    private List<MemberBean> authorizedUserList;//授权的用户列表
    private List<MemberBean> unAuthorizedUserList;//申请当未授权的用户列表

    public MemberBean getMemberBean() {
        return memberBean;
    }

    public void setMemberBean(MemberBean memberBean) {
        this.memberBean = memberBean;
    }

    public List<MemberBean> getAuthorizedUserList() {
        return authorizedUserList;
    }

    public void setAuthorizedUserList(List<MemberBean> authorizedUserList) {
        this.authorizedUserList = authorizedUserList;
    }

    public List<MemberBean> getUnAuthorizedUserList() {
        return unAuthorizedUserList;
    }

    public void setUnAuthorizedUserList(List<MemberBean> unAuthorizedUserList) {
        this.unAuthorizedUserList = unAuthorizedUserList;
    }

    public static class MemberBean implements Serializable {
        /**
         * device_id : 0994dd79d1f401e3304dc5be2d72ccd2
         * username : 17612709290
         * roles : 1
         * record_time : 1571625647841
         * auth_time : 1571625647841
         * headportrait : img/headportrait/157249325532017612709290.jpg
         * niname : 分刚刚好
         * adminstate : 1
         */

        private String device_id;
        private String username;
        private String roles;
        private long record_time;
        private long auth_time;
        private String headportrait;
        private String niname;
        private String adminstate;
        private int type;
        private String title;
        private boolean check;

        public String getDevice_id() {
            return device_id;
        }

        public void setDevice_id(String device_id) {
            this.device_id = device_id;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getRoles() {
            return roles;
        }

        public void setRoles(String roles) {
            this.roles = roles;
        }

        public long getRecord_time() {
            return record_time;
        }

        public void setRecord_time(long record_time) {
            this.record_time = record_time;
        }

        public long getAuth_time() {
            return auth_time;
        }

        public void setAuth_time(long auth_time) {
            this.auth_time = auth_time;
        }

        public String getHeadportrait() {
            return headportrait;
        }

        public void setHeadportrait(String headportrait) {
            this.headportrait = headportrait;
        }

        public String getNiname() {
            return niname;
        }

        public void setNiname(String niname) {
            this.niname = niname;
        }

        public String getAdminstate() {
            return adminstate;
        }

        public void setAdminstate(String adminstate) {
            this.adminstate = adminstate;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public boolean isCheck() {
            return check;
        }

        public void setCheck(boolean check) {
            this.check = check;
        }
    }

}
